package com.zhl.bean;

import java.util.ArrayList;
//科室类
public class Depatment {
    private String name;
    private ArrayList<Doctor> doctors= new ArrayList<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public ArrayList<Doctor> getDoctors() {return doctors;}

    public void setDoctors(ArrayList<Doctor> doctors) {this.doctors = doctors;}

    public int getNumber(){return doctors.size();}

}
